<?php
/*
 * logout.php
 * Retral/CSCD494 Winter 2009
 * Eastern Washington University
 *
 * File Description:
 * Clear session data, destroy the session, and redirect to the homepage (with logout message)
 * 
 * Other:
 * 
 */
@session_start();
$_SESSION['loggedIn'] = "";
$_SESSION['roleCode'] = "";
$_SESSION['pagePermissions'] = "";
$_SESSION['userID'] = "";
@session_destroy();
header("Location:index.php?logout");
?>